package com.qf.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qf.pojo.DtsRole;

import java.util.List;
import java.util.Set;

/**
 * @author 千锋教育
 * @Company http://www.mobiletrain.org/
 * @Version 1.0
 */
public interface DtsRoleService {
    Set<String> findRoleByIds(Integer[] roleIds);

    List<DtsRole> findAll();

    IPage<DtsRole> queryPage(Integer page, Integer limit, String sort, String order, String rolename);

    void update(DtsRole role);

    boolean delete(DtsRole role);

    DtsRole insert(DtsRole role);

    boolean isSuperAdmin(Integer roleId);
}
